import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
//导入axios，并将其挂载到原型上，以便全局调用
import axios from 'axios'
Vue.prototype.$http = axios
//导入全局样式
import './assets/css/global.css'
axios.defaults.baseURl = 'http://127.0.0.1:3000'
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
